package com.akk.module.app.mapper;

import com.akk.module.app.entity.AppBanner;
import com.akk.module.app.entity.AppBannerExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppBannerMapper {
    int countByExample(AppBannerExample example);

    int deleteByExample(AppBannerExample example);

    int deleteByPrimaryKey(String bannerId);

    int insert(AppBanner record);

    int insertSelective(AppBanner record);

    List<AppBanner> selectByExample(AppBannerExample example);

    AppBanner selectByPrimaryKey(String bannerId);

    int updateByExampleSelective(@Param("record") AppBanner record, @Param("example") AppBannerExample example);

    int updateByExample(@Param("record") AppBanner record, @Param("example") AppBannerExample example);

    int updateByPrimaryKeySelective(AppBanner record);

    int updateByPrimaryKey(AppBanner record);
}